{% extends "base.html" %}

{% block title %}Login{% endblock %}

{% block content %}
<form action="" method="post">
  {% csrf_token %}
  <table>
    <tr>
      <td>用户名 </td>
      <td><input type="text" name="username"/></td>
    </tr>
    <tr>
      <td>密码</td>
      <td><input type="password" name="password"/></td>
    </tr>
    <tr>
      <td></td>
      <td><input type="submit" value="登录"/></td>
    </tr>
  </table>
</form>
{% endblock %} 